package cn.com.hatech.blog.common.constant;

/**
 * @projectName: hatech-blog
 * @package: cn.com.hatech.blog.common.constant
 * @className: LogActions
 * @author: xuruikai
 * @description: 日志表的action字段
 * @date: 2020/1/11 14:27
 * @version: 1.0
 */
public enum LogActions {
    /**
     * 日志表的基础操作信息
     */
    LOGIN("登录后台"),
    UP_PWD("修改密码"),
    UP_INFO("修改个人信息"),
    DEL_ARTICLE("删除文章"),
    DEL_PAGE("删除页面"),
    SYS_SETTING("保存系统设置"),
    INIT_SITE("初始化站点");

    private String action;

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    LogActions(String action) {
        this.action = action;
    }
}
